package com.ms.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户登录数据传输对象
 */
@Data
@Schema(name = "用户登录数据传输对象", description = "用户登录时使用的账号和密码信息")
public class UserLoginDTO implements Serializable {

    @Schema(description = "用户账号", example = "123", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;

    @Schema(description = "登录密码", example = "123456", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;
}
